/*
 * @Description: 示例路由器映射
 * @Version: 1.0
 * @Autor: jiajun wu
 * @Date: 2021-11-30 10:14:38
 * @LastEditors: jiajun wu
 * @LastEditTime: 2021-12-01 14:14:59
 */
import { BasicLayout } from "@/components/layouts"
import { Router } from './types'

export const example: Router = {
  path: '/',
  name: 'index',
  component: BasicLayout,
  meta: { title: 'menu.home' },
  redirect: '/home',
  children: [
    {
      path: '/home',
      name: 'home',
      component: () => import('@/views/home/index.vue'),
      meta: { title: 'menu.home', keepAlive: true }
    },
  ]
}
